package com.xiaomaoguai.redis.sub2;

import java.util.Map;

/**
 * redis 消息代理
 *
 * @ FileName: MessageDelegate.java
 * @ Author: WeiHui-Z
 * @ Date: 2017/4/21 9:38
 * @ Version: v1.0.0
 */
public interface MessageDelegate {

    void handleMessage(Map<String, String> message, String channel);

}
